

<?php
 session_start();
    include 'module/login/authenticated.php';
    #include 'module/upload/upload.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
        <title>AI VAS Website</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="title" content="Web site" />
        <meta name="description" content="Site description here" />
        <meta name="keywords" content="keywords here" />
        <meta name="language" content="en" />
        <meta name="subject" content="Site subject here" />
        <meta name="robots" content="All" />
        <meta name="copyright" content="Your company" />
        <meta name="abstract" content="Site description here" />
        <meta name="MSSmartTagsPreventParsing" content="true" />
        <link id="theme" rel="stylesheet" type="text/css" href="css/style.css" title="theme" />
        <script type="text/javascript" language="javascript" src="js/jquery.js"></script>
        <script type="text/javascript" language="javascript" src="js/custom.js"></script>
        <script type="text/javascript" language="javascript" src="js/addon.js"></script>
    </head>
    <body>

        <div id="wrapper">
            <div class="overlay"></div>
            <div class="border-top"></div>
            <div class="content">
                <div id="container">
                    <div class="hd">
                        <div id="container-top">
                        </div>
                        <div id="banner">
                            <div id="suchfeld">

                                <form style="">
                                    <img src="images/suchfoto.png" />
                                    <input type="text" name="firstname" size="25" maxlength="40" />

                                </form>



                            </div>
                            <div id="hmenu-wpr">
                                <ul id="hmenu" class="sf-menu sf-js-enabled sf-shadow">
                                    <li class="current" style="border:none">
                                        <a class="toplvl sf-with-ul" href="index.php">Home</a>
                                    </li>
                                    <li>
                                        <a href="module/upload/upload.php" class="toplvl">Ressource</a>
                                        <ul>
                                            <li>
                                                <a href="module/download/download.php" class="toplvl">Bachelor</a>
                                            </li>
                                            <li class="current">
                                                <a href="module/download/download.php" class="toplvl">Master</a>

                                            </li>
                                        </ul>
                                    </li>

<!--                                    <li>
                                        <a class="toplvl" href="#">Mein Profil</a>
                                        <ul>
                                            <li>
                                                <a href="#">Einstellungen</a>
                                            </li>
                                             <li>
                                                <a href="#">Profil bearbeiten</a>
                                            </li>
                                             <li>
                                                <a href="#">Freunde</a>
                                            </li>

                                        </ul>
                                    </li>  -->
                                    <li>
                                        <a class="toplvl" href="#">News</a>
                                        <ul>
                                            <li>
                                                <a href="#">Aktuel</a>
                                            </li>
                                            <li>
                                                <a href="#">Archive</a>
                                            </li>
                                        </ul>
                                    </li>
<?php

             
   

              if(isset($_SESSION['pseudo']))
                  {
                  $hh=$_SESSION['pseudo'];
                  echo '<li> 
                          <a class="toplvl" href="destroy.php">Logout</a>  
                      </li>';
                          
              echo "<li> 
                          <a class='toplvl' >Willkommen  $hh</a>  
                       </li>";
              
                  }
                       
               else {
                  echo '<li>
                          <a class="toplvl" href="login.php">Login</a>
                       </li>';          
                    }
                       
                       
?>  
                                </ul> 
                            </div>  
                        </div>  

?>
                               
                            </div>
                        </div>

                        <div class="bd">
                            <div id="page">
                                <!-- SIDEBAR  -->
                                <div id="sidebar">
                                    <div class="content">
                                        <div class="sidebox1">
                                            <h2>Side Box Menu</h2>
                                            <div class="vmenu">
                                                <ul>
                                                    <li>
                                                        <a href="#"></a>
                                                    </li>
                                                    <li>
                                                        <a href="#"></a>
                                                    </li>
                                                    <li>
                                                        <a href="#"></a>
                                                    </li>
                                                    <li>
                                                        <a href="#"></a>
                                                    </li>
                                                    <li>
                                                        <a href="#"></a>
                                                    </li>
                                                </ul>
                                            </div>
                                        </div>
                                        <div class="sidebox1">
                                            <h2>Side Box Heading</h2>
                                            <p></p>
                                        </div>
                                    </div>
                                </div>
                                <!-- END SIDEBAR  -->
                                <!-- MAIN COLUMN -->
                                <div id="main">
                                    <div class="content">
                                        <?php
                                        if(isset($_GET['content'])){
                                            $col = $_GET['content'];

                                        } else {
                                            $col = "1";
                                        }

                                        switch($col) {
                                            case '1' : include_once 'index.php';
                                        }

                                        ?>
                                        <h1>Willkommen au ASAI_FD</h1>
                                        <h2 style="margin-top:35px;">sag ja zum Erfolg und macht mit.</h2>
                                        <h3>Hier finden Sie den Schlüssel zum Erfolg!</h3>
                                        <!-- <p>
                                           <img src="images/bizwoman-1.png" style="float:right;margin-left:20px" /> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi.
                                         </p>  -->

                                        <div style="margin-top:25px;">
                                            <!-- TO REMOVE -->
                                            <h3>LICENSE</h3>
                                            <p>
                                                <strong></strong>
                                            </p>
                                        </div>
                                    </div>
                                </div>
                                <!-- END MAIN -->
                                <!-- SIDEBAR 2  -->
                                <div id="sidebar2">
                                    <div class="content">
                                        <div class="sidebox2">
                                            <h2>Sidebar Bloc</h2>
                                            <div class="vmenu">
                                                <ul>
                                                    <li>
                                                        <a href="#"></a>
                                                    </li>
                                                    <li>
                                                        <a href="#"></a>
                                                    </li>
                                                    <li>
                                                        <a href="#"></a>
                                                    </li>
                                                    <li>
                                                        <a href="#"></a>
                                                    </li>
                                                    <li>
                                                        <a href="#"></a>
                                                    </li>
                                                </ul>
                                            </div>
                                        </div>
                                        <div class="sidebox2">
                                            <h2>Cross browser</h2>
                                            <p></p>
                                            <div style="margin-top:20px">
                                                <img src="" style="" />
                                            </div>
                                            <p style="margin-top:20px"></p>
                                        </div>
                                    </div>
                                </div>
                                <!-- END SIDEBAR 2  -->
                                <div class="clear" style="height:60px"></div>
                            </div>
                        </div>
                        <div class="ft">
                            <div id="footer">
                                <div class="content">
                                    <p>

                                    </p>
                                </div>
                            </div>
                            <div id="container-bottom"></div>
                        </div>
                    </div>
                </div>
            <div class="clear"></div>
    </body>
</html>
